package com.distribution.common.core.domain.entity;

import com.distribution.common.annotation.Excel;
import com.distribution.common.annotation.Excel.ColumnType;
import com.distribution.common.core.domain.BaseEntity;
import com.distribution.common.xss.Xss;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

public class CmccDaOrderEX extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单ID */
    @Excel(name = "订单编号", cellType = ColumnType.NUMERIC, prompt = "订单编号")
    private String orderId;
    /*产品编码*/
    @Excel(name = "产品编码")
    private String productCode;
    /*卡id*/
    @Excel(name = "卡id")
    private String productParam;
    /*商品名称*/
    @Excel(name = "商品名称")
    private String productName;
    /*卡类型*/
    @Excel(name = "卡类型")
    private Integer productTypeId;

    /*收货人姓名*/
    @Xss(message = "收货人姓名不能包含脚本字符")
    @NotBlank(message = "收货人姓名不能为空")
    @Size(min = 0, max = 30, message = "收货人姓名长度不能超过30个字符")
    @Excel(name = "收货人姓名")
    private String customerName;

    /*收货人证件号*/
    @Excel(name = "收货人证件号")
    private String customerCertNo;

    /*配送地址*/
    @Excel(name = "配送地址")
    private String address;

    /*省名称*/
    @Excel(name = "省名称")
    private String addressProvince;

    /*省区划代码*/
    @Excel(name = "省区划代码")
    private String addressProvinceCode;

    /*市名称*/
    @Excel(name = "市名称")
    private String addressCity;

    /*市区划代码*/
    @Excel(name = "市区划代码")
    private String addressCityCode;

    /*县名称*/
    @Excel(name = "县名称")
    private String addressArea;

    /*县区划代码*/
    @Excel(name = "县区划代码")
    private String addressAreaCode;


    /*街道信息*/
    @Excel(name = "街道信息")
    private String addressStreet;

    /*联系电话*/
    @Size(min = 0, max = 11, message = "联系电话长度不能超过11个字符")
    @Excel(name = "联系电话")
    private String customerPhone;

    /*选取号码*/
    @Size(min = 0, max = 11, message = "选取号码长度不能超过11个字符")
    @Excel(name = "选取号码")
    private String choosePhone;

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public String getProductParam() {
        return productParam;
    }

    public void setProductParam(String productParam) {
        this.productParam = productParam;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public Integer getProductTypeId() {
        return productTypeId;
    }

    public void setProductTypeId(Integer productTypeId) {
        this.productTypeId = productTypeId;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getCustomerCertNo() {
        return customerCertNo;
    }

    public void setCustomerCertNo(String customerCertNo) {
        this.customerCertNo = customerCertNo;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getAddressProvince() {
        return addressProvince;
    }

    public void setAddressProvince(String addressProvince) {
        this.addressProvince = addressProvince;
    }

    public String getAddressProvinceCode() {
        return addressProvinceCode;
    }

    public void setAddressProvinceCode(String addressProvinceCode) {
        this.addressProvinceCode = addressProvinceCode;
    }

    public String getAddressCity() {
        return addressCity;
    }

    public void setAddressCity(String addressCity) {
        this.addressCity = addressCity;
    }

    public String getAddressCityCode() {
        return addressCityCode;
    }

    public void setAddressCityCode(String addressCityCode) {
        this.addressCityCode = addressCityCode;
    }

    public String getAddressArea() {
        return addressArea;
    }

    public void setAddressArea(String addressArea) {
        this.addressArea = addressArea;
    }

    public String getAddressAreaCode() {
        return addressAreaCode;
    }

    public void setAddressAreaCode(String addressAreaCode) {
        this.addressAreaCode = addressAreaCode;
    }

    public String getAddressStreet() {
        return addressStreet;
    }

    public void setAddressStreet(String addressStreet) {
        this.addressStreet = addressStreet;
    }

    public String getCustomerPhone() {
        return customerPhone;
    }

    public void setCustomerPhone(String customerPhone) {
        this.customerPhone = customerPhone;
    }

    public String getChoosePhone() {
        return choosePhone;
    }

    public void setChoosePhone(String choosePhone) {
        this.choosePhone = choosePhone;
    }
}
